package a.j;

import java.awt.*;
import java.awt.geom.Point2D;

public class kf
  extends jf
{
  private Cursor I;
  private Cursor J = Cursor.getDefaultCursor();
  private boolean K = false;
  public static boolean L;
  
  public kf()
  {
    a("NAVIGATION_AREAZOOM");
  }
  
  protected void selectionBoxAction(Rectangle paramRectangle, boolean paramBoolean) {}
  
  public void b(boolean paramBoolean)
  {
    boolean bool = ld.E;
    if (!bool)
    {
      super.b(paramBoolean);
      if (paramBoolean)
      {
        this.I = this.i.O();
        if (bool) {
          break label57;
        }
        this.i.a(this.J);
        if (!ld.D) {
          return;
        }
      }
    }
    label57:
    this.i.a(this.I);
  }
  
  protected void a(Rectangle2D.Double paramDouble, boolean paramBoolean)
  {
    boolean bool = ld.E;
    double d1 = this.i.M();
    double d2 = 20.0D / d1;
    if (!bool)
    {
      if (paramDouble.width < d2)
      {
        paramDouble.x -= (d2 - paramDouble.width) / 2.0D;
        paramDouble.width = d2;
      }
      if (bool) {}
    }
    else
    {
      if (paramDouble.height >= d2) {
        break label102;
      }
      paramDouble.y -= (d2 - paramDouble.height) / 2.0D;
    }
    paramDouble.height = d2;
    label102:
    Point2D localPoint2D1 = this.i.J();
    this.i.c(paramDouble.x, paramDouble.y, paramDouble.width, paramDouble.height);
    double d3 = this.i.M();
    Point2D localPoint2D2 = this.i.J();
    this.i.b(d1);
    this.i.a(localPoint2D1.getX(), localPoint2D1.getY());
    a(d3, localPoint2D2);
  }
  
  protected void a(double paramDouble, Point2D paramPoint2D)
  {
    a(paramDouble, paramPoint2D, w());
  }
  
  protected void a(double paramDouble, Point2D paramPoint2D, boolean paramBoolean)
  {
    this.i.a(paramDouble, paramPoint2D, paramBoolean);
    this.i.b();
  }
  
  public Cursor v()
  {
    return this.J;
  }
  
  public void a(Cursor paramCursor)
  {
    this.J = paramCursor;
  }
  
  public void g(boolean paramBoolean)
  {
    this.K = paramBoolean;
  }
  
  public boolean w()
  {
    return this.K;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.kf

 * JD-Core Version:    0.7.0.1

 */